package com.gulimall.ware.feign;

import com.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author by董江
 * @Tool Intellij IDEA
 * @Classname ProductFeignService
 * @Date 2022/5/8 22:53
 */
@FeignClient(value = "gulimall-product",path = "/product")
public interface ProductFeignService {
    /**
     * 获取sku详细信息
     */
    @GetMapping("/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);
}
